package com.xuelang.pipeline.worker.client.crd.tekton.v1beta.pipeline;

import com.xuelang.pipeline.worker.client.crd.tekton.v1beta.V1WhenExpression;
import com.xuelang.pipeline.worker.client.crd.tekton.v1beta.task.V1Beta1TaskRunStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liuyuan.ly
 * @since 2024/7/14 10:43
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class V1Beta1PipelineRunTaskRunStatus {
    @ApiModelProperty(value = "pipeline run 实际启动时间", position = 0)
    private String  pipelineTaskName;
    @ApiModelProperty(value = "pipeline run 实际启动时间", position = 1)
    private V1Beta1TaskRunStatus status;
    @ApiModelProperty(value = "pipeline run 实际启动时间", position = 2)
    private List<V1WhenExpression> whenExpressions;
}
